﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using DataAccess.Datatypes;

namespace Mvc4.Models
{
    public class Search
    {
        public Search()
        {
            Goods = null;
        }

        public Search(IEnumerable<Good> goods)
        {
            Goods = goods;
        }

        public string GoodName { get; set; }
        public DateTime From { get; set; }
        public DateTime To { get; set; }
        public IEnumerable<Good> Goods;
    }
}